
package com.service;

import java.util.List;
import java.util.Map;

import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.service.IService;
import com.entity.TokenEntity;
import com.utils.PageUtils;


/**
 * token
 * @author 1296lol
 * @email hh1296@foxmail.com
 * @date 2024-12-26 14:15:11
 */
public interface TokenService extends IService<TokenEntity> {
 	PageUtils queryPage(Map<String, Object> params);

   	List<TokenEntity> selectListView(Wrapper<TokenEntity> wrapper);

   	PageUtils queryPage(Map<String, Object> params,Wrapper<TokenEntity> wrapper);

   	String generateToken(Long userid,String username,String tableName, String role);

   	TokenEntity getTokenEntity(String token);
}
